package org.dromara.dao.business.domain;


import io.swagger.v3.oas.annotations.media.Schema;
import org.dromara.common.mybatis.core.domain.BaseDomain;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 对象 user_api_record
 *
 *
 * @date 2025-04-17 14:49:14
 */
@Schema(description = "")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("user_api_record")
public class UserApiRecord extends BaseDomain {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
    * 字段 [id]: 
    */
    @Schema(description = "")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;


    /**
     * 字段 [user_id]: 用户ID
     */
    @Schema(description = "用户ID")
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 字段 [url]: URL
     */
    @Schema(description = "URL")
    @TableField(value = "url")
    private String url;

    /**
     * 字段 [ip]: IP地址
     */
    @Schema(description = "IP地址")
    @TableField(value = "ip")
    private String ip;

    /**
     * 字段 [port]: 端口
     */
    @Schema(description = "端口")
    @TableField(value = "port")
    private String port;

    /**
     * 字段 [session_id]: 会话ID
     */
    @Schema(description = "会话ID")
    @TableField(value = "session_id")
    private String sessionId;

}
